GoAdminGroup / go-admin

A golang framework helps gopher to build a data visualization and admin panel in ten minutes
https://www.go-admin.com
Apache License 2.0
8.15k stars 1.33k forks source link

Add Features for simple use #611

Open HRNasr opened 5 months ago

HRNasr commented 5 months ago

1- Adding the possibility to limit the number of input characters in the form fields instead of checking the number when inserting into the database 2- Ability to show/hide form fields by selecting values by radio/checkbox ex: select component 3- The possibility to check the format of fields such as email and phone when user insert 4- English language in Rich-text component (Current Chinese) 5- Connect to an IDP for login page ex: casdoor 6- Ability to display tooltip on form fields 7- Ability to see the value of the password field in the form 8- Ability to copy a record in the page action (edit/delete/copy)

chenhg5 commented 5 months ago

@HRNasr First of all, thank you very much for your advice. About your question, I'll be sure to provide you with some answers.

  1. maybe you can use .FieldLimit(number),
  2. Take a look at whether .FieldOnChooseMap can meet your requirements.
  3. There's no ready-made API available for now, but you can start by using .SetPostValidator to implement it. 4/5. I'll continue to follow up on this.
  4. Can you give me more examples, and screenshots better?
  5. mark it.
  6. Need an example.
HRNasr commented 5 months ago

Thank you for the reply 1- In relation to this item, it is applied during the display. But I mean preventing the number of characters from entering according to the specified limit. For example, if we say limit (10). Do not enter more than 10 characters at the time of inter filed value.

1-1- Can you give me examples of FieldOnChooseMap on form.CheckboxSingle not work !!! only work on form.selectsingle

2- Richtext component when we move the mouse over its icons. It displays the Chinese Tooltip and does not support the other language

3- What method should we use to display the tooltip on the field of form for user helping?

4- Ability to see the value of the password field in the form after the insert . (eye icon)

5- Ability to copy a record in the page action. add copy action to pages (copy one record base on specific filed)

HRNasr commented 5 months ago

@chenhg5