Closed sbalaji1192 closed 2 years ago
@vivekverma2312 Could you test this on DP - https://deploy-preview-9582--appsmith-editor-ce.netlify.app/applications?
@sbalaji1192 Few issues observed during the DP testing
0
populates and I am not able to delete that.
Testing is still in progress
@sbalaji1192 Can we include #9822 in this?
@aswathkk will try to squeeze this in.
@vivekverma2312 Could you tell me how did you test #7899 and #8012 ?
@vivekverma2312 fixed #6. Regarding #7810, It seems like an issue with evaluations not with input widget itself. Will further discuss about this with @somangshu . Regarding #8012, It is working as expected. The app provided by the user has work around in validations logic, so it is failing with input widget v2. you need to edit the logics and use appropriate dataype to make it work.
@sbalaji1192 regarding #8012, does it mean we need to think about any kind of a migration. It would be unacceptable for the users to have their app broken without knowledge, Usually we solve for this. Help me understand more here.
@somangshu So the user who created 8012 has created an app with input widget v1 to demonstrate the issues with validations. where he wrote conditions with all input types values as datatype string, which is not the case with input widget v2. based on the input chosen, the datatype of values changes. if we use the same conditions from that app. it will fail because of mismatching datatype. we don't need any migrations for this change.
I understood, The condition any ways need to be re-written on the input v2, we are good to go then
@sbalaji1192 @vivekverma2312 Selected country code/flag is not displayed in the widget and it is observed that only after refreshing the page populates the selected country code/Flag in the widget
@sbalaji1192 The watermark text of tool tip field in both phone and currency widget reads about 'Password' - Can we change this with relevant watermark text
@YogeshJayaseelan @vivekverma2312 Fixed your callouts. please test again.
@sbalaji1192 When I am trying to bind the Input widget to text widget I am getting auto suggestion for country code and currency country code
@vivekverma2312 Fixed. please test again.
@vivekverma2312 Fixed your callouts. Also fixed callouts posted by @dilippitchika over here. Please verify both.
@sbalaji1192 Tested this PR and please find the status below,
Issue raised by @vivekverma2312 are fixed and with respect to issues raised by @dilippitchika there is one bug reopen with the below steps
Currency widget - Add 2 decimals to default text keeping the decimal point option as 0 and check for the error message and now change the decimal point option 2 and see the error message will still displayed
@YogeshJayaseelan It's an issue on the property pane, not with the widget itself. if the dropdown value is 0, the property pane is not updating the value. Could you create a separate issue for this ?
@sbalaji1192 tested this and found below issues.
When PhoneInput and Currencyinput widget are resized the border moves inside the widget. This does not happen for Input widget https://loom.com/share/347a1c72c1b84be5a6b9bfa72899621b
When PhoneInput and Currencyinput widget are resized user is able to place Input widget on top of it. https://loom.com/share/4a88834d835d416888bf9e0d1365d16d
There is no icon present in Entity explorer for input widget
Icons disappear when Icon alignment is set to right for Number and Password Data type
in Input widget
https://loom.com/share/4ccaeb50120248ec947e93d7d19b4db2
Tooltip watermark for any Data type
selected in Input widget is not relevant.
Background color for Phoneinput and Currencyinput varies whenAllow country code change
and Allow currency change
are enabled.
Property pane in Input widget shows same Error message watermark for all Data types.
No error message when negative value is entered in Max Chars
for Input widget.
@shwetha-ramesh WRT #1 and #2, We have country dropdown and currency dropdown associated with the widget so we can't reduce the width beyond the length of the dropdown. And Also it seems like an invalid scenario.
Fixed rest. please test.
@sbalaji1192 here is my thought, in case of the number input type we can add a margin right to the icon such that it is not overlapped, that is in case this is the problem.
@sbalaji1192 verified the fixed issues and they are working as expected
All of the existing issues in the bug description, which this bug is supposed to address, have been verified and closed. Hence marking this as Verified as well.
Is there an existing issue for this?
Summary
Current input widget has lot of open issues related to validation. Fixing them will break the existing application. So let's introduce a version 2 of input widget with improved validations.
Existing issues with input widget validation.
7697
7899
8012
7675
8591
9822
Goal of this issue is to fix the existing issues.
Why should this be worked on?
Input widget is one of the most used widget. Improved input widget will definitely help user in creating solid applications.