You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow Setting Empty (Blank) Values for Resource Fields in the Admin Interface
Hello SmartStore Team, I have encountered a limitation within the SmartStore admin panel, specifically in the language resource management section (/admin/language/resources/). Currently, it seems impossible to set the value of a resource, such as "Footer.Info", to an empty string or whitespace (such as a space or a Shift-Space). This restriction can be inconvenient when a value needs to be intentionally blank for certain uses, such as removing default footer info without replacing it with other content.
Please see:
Suggested Enhancement:
Modify the validation rules for resource values to accept empty strings or strings consisting solely of whitespace characters.
Update the UI feedback to allow administrators to clear existing values without errors stating that such changes are not possible.
Justification:
This change would provide more flexibility in customizing the storefront by allowing fields to be cleared as needed without workaround solutions. It would also streamline the admin experience, reducing the need for unnecessary placeholder text or scripts to enforce blank values.
Potential Challenges:
Ensuring that this change does not interfere with the default behavior expected in other parts of the system where a non-empty value might be necessary.
Updating documentation and user guides to explain this new capability.
Thank you for considering this enhancement to improve the flexibility and user-friendliness of the SmartStore platform.
Greetings!!!
The text was updated successfully, but these errors were encountered:
muratcakir
changed the title
Feature Request: Option to Set Empty Values for Resource Fields
Feature request: Option to set empty values for resource fields
May 13, 2024
Allow Setting Empty (Blank) Values for Resource Fields in the Admin Interface
Hello SmartStore Team, I have encountered a limitation within the SmartStore admin panel, specifically in the language resource management section (
/admin/language/resources/
). Currently, it seems impossible to set the value of a resource, such as "Footer.Info", to an empty string or whitespace (such as a space or a Shift-Space). This restriction can be inconvenient when a value needs to be intentionally blank for certain uses, such as removing default footer info without replacing it with other content.Please see:
Suggested Enhancement:
Justification:
This change would provide more flexibility in customizing the storefront by allowing fields to be cleared as needed without workaround solutions. It would also streamline the admin experience, reducing the need for unnecessary placeholder text or scripts to enforce blank values.
Potential Challenges:
Thank you for considering this enhancement to improve the flexibility and user-friendliness of the SmartStore platform.
Greetings!!!
The text was updated successfully, but these errors were encountered: