Version: SmartGWT Version: v10.0p_2015-12-10/LGPL Development Only
Browsers: All browsers
We're having a couple issues with the Filter Builder.
We understand these may be by design, but the behaviors have caused us some usability woes.
Usability issues occur when the user enters a filter clause that contains an empty field, believing that this may represent some default value (i.e. zero or empty string), the user submits the filter, and since there is no way for us to detect they entered an empty field (that we've thought of), the filter is saved successfully, and does not behave as the user intended.
We would like to somehow give feedback to the user that a value is required to be entered for these fields. Do you have a recommended approach for this kind of scenario? Is there possibly some technical detail we missed?
I'm not attaching a sample, because you are likely aware of this behavior, but if you would like one, we can provide it.
Thanks
Browsers: All browsers
We're having a couple issues with the Filter Builder.
- The Filter Builder omits any clause with an empty field and it will not be returned as criteria when filterBuilder.getCriteria() is called
- The Filter Builder does not validate with any additional validators specified on the DataSourceField or ListGridField. Yet we do see there is some internal validation on Integer fields
We understand these may be by design, but the behaviors have caused us some usability woes.
Usability issues occur when the user enters a filter clause that contains an empty field, believing that this may represent some default value (i.e. zero or empty string), the user submits the filter, and since there is no way for us to detect they entered an empty field (that we've thought of), the filter is saved successfully, and does not behave as the user intended.
We would like to somehow give feedback to the user that a value is required to be entered for these fields. Do you have a recommended approach for this kind of scenario? Is there possibly some technical detail we missed?
I'm not attaching a sample, because you are likely aware of this behavior, but if you would like one, we can provide it.
Thanks
Comment