Skip to content

Commit

Permalink
chore: comment on iOS fix in InputField
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 15, 2024
1 parent c25f723 commit 23011f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/popup/components/InputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export default defineComponent({
url: 'url',
text: 'text',
}[props.type]));
// don't start with a capital letter in URL keyboard on iOS
const autoCapitalize = computed(() => props.type === 'url' ? 'off' : undefined);
const messageAsObject = computed(
(): IInputMessage | null => (typeof props.message === 'object') ? props.message : { text: props.message },
Expand Down

0 comments on commit 23011f2

Please sign in to comment.