Hi,
I have an issue with the SearchForm component vs. "required" fields. The problem is that
fields marked as "required" in the data source, initially show up properly, but as soon as a
validation fails, it forgets about the "hiliteRequiredFields=false" it should be observing ...
To reproduce, you can use the following code in the ISC Feature Explorer :
The scenario :
1) Fields initially display properly.
2) Go to each of the fields and enter alpha data (a,b,c,...) to trigger the numeric validation failure.
3) Go back to each of the fields and clear the data, to remove the validation failure.
4) You will notice that intField1 and intField2 which are marked "required" in the datasource will
not clear their bold captions, validation icons, etc ... intField3 works as expected.
Is this a known issue ? Is there any way around this behavior ?
Thanks,
I have an issue with the SearchForm component vs. "required" fields. The problem is that
fields marked as "required" in the data source, initially show up properly, but as soon as a
validation fails, it forgets about the "hiliteRequiredFields=false" it should be observing ...
To reproduce, you can use the following code in the ISC Feature Explorer :
Code:
isc.SearchForm.create ({ ID: "boundForm", dataSource: "builtins", fields : [ { name : 'intField1' }, { name : 'intField2' }, { name : 'intField3' } ] });
Code:
<DataSource ID="builtins"> <fields> <field name="intField1" type="integer" title="Integer" required="true"/> <field name="intField2" type="integer" title="Integer" required="true"/> <field name="intField3" type="integer" title="Integer"/> <field name="intField4" type="integer" title="Integer"/> </fields> </DataSource>
1) Fields initially display properly.
2) Go to each of the fields and enter alpha data (a,b,c,...) to trigger the numeric validation failure.
3) Go back to each of the fields and clear the data, to remove the validation failure.
4) You will notice that intField1 and intField2 which are marked "required" in the datasource will
not clear their bold captions, validation icons, etc ... intField3 works as expected.
Is this a known issue ? Is there any way around this behavior ?
Thanks,
Comment