Open chetanyakan opened 6 years ago
Add support to override templates for "No item to display." and "Add {item.name} (tap or press return)" with custom user messages.
react-native: 0.53.0 react-native-multiple-select: 0.4.1
Pass empty array in selectedItems
selectedItems
See "No item to display." message.
Set canAddItem to true
canAddItem
See "Add {item.name} (tap or press return)" message while editing text.
We should be able to pass our own template or somehow override this message.
This support is not there.
Issue summary
Add support to override templates for "No item to display." and "Add {item.name} (tap or press return)" with custom user messages.
Library versions
react-native: 0.53.0 react-native-multiple-select: 0.4.1
Steps to Reproduce
Pass empty array in
selectedItems
See "No item to display." message.
Set
canAddItem
to trueSee "Add {item.name} (tap or press return)" message while editing text.
Expected Behavior
We should be able to pass our own template or somehow override this message.
Actual Behavior
This support is not there.