Current Form Behavior Configuration:
var crudFormFactory = gridCrud.getCrudFormFactory();
crudFormFactory.setUseBeanValidation(true);
crudFormFactory.setVisibleProperties("propertyKey", "displayOrder", "visible");
crudFormFactory.setDisabledProperties(CrudOperation.UPDATE, "propertyKey");
crudFormFactory.setDisabledProperties(CrudOperation.DELETE, "propertyKey", "displayOrder", "visible");
Steps to Reproduce:
- Select an item (READ mode).
- Click Update →
propertyKey is disabled (✅ expected).
- Click Create →
propertyKey should be editable but remains disabled (❌ issue).
Expected Process Flow:
- Select an item → READ mode
- Click Update →
propertyKey is disabled
- Back to READ mode →
propertyKey back to enabled
- Click Create →
propertyKey is enabled → ❌ Unexpected behavior.
Issue Description:
After clicking Update, the propertyKey field remains disabled even when switching to Create mode, where it should be editable. It appears that the disabled state persists across operations unexpectedly.
Expected Behavior:
propertyKey should only be disabled in Update and Delete operations.
- In Create mode,
propertyKey should be editable again.
Possible Cause:
It seems like the disabled property configuration is persisting across form states, potentially requiring an explicit reset when switching to Create mode.
Environment Details:
- Java 21
- Quarkus 3.19.1
- Vaadin 24.6.5
crudui 7.2.0
Let me know if you need more details! 🚀
Current Form Behavior Configuration:
Steps to Reproduce:
propertyKeyis disabled (✅ expected).propertyKeyshould be editable but remains disabled (❌ issue).Expected Process Flow:
propertyKeyis disabledpropertyKeyback to enabledpropertyKeyis enabled → ❌ Unexpected behavior.Issue Description:
After clicking Update, the
propertyKeyfield remains disabled even when switching to Create mode, where it should be editable. It appears that the disabled state persists across operations unexpectedly.Expected Behavior:
propertyKeyshould only be disabled in Update and Delete operations.propertyKeyshould be editable again.Possible Cause:
It seems like the disabled property configuration is persisting across form states, potentially requiring an explicit reset when switching to Create mode.
Environment Details:
crudui7.2.0Let me know if you need more details! 🚀