Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Markdown problems with firefox #1886

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaanguru
Copy link

There are some Code and Syntax Highlighting problems on this page

I couldn't solve but this page needs some interest.

There is a huge text dump on the following line while using firefox.

import { DataFormValidationMode } from 'nativescript-ui-dataform';

export default { template: <ActionItem text="Immediate" android.position="popup" @tap="onImmediateTap"> <ActionItem text="OnLostFocus" android.position="popup" @tap="onOnLostFocusTap"> <ActionItem text="Manual" android.position="popup" @tap="onManualTap"> <Button text="Validate manually" horizontalAlignment="stretch" @tap="onValidateTap()"> , data () { return { text: '', validationMode: DataFormValidationMode.Immediate, person: { username: '', password: '', }, personMetadata: { 'isReadOnly': false, 'propertyAnnotations': [ { 'name': 'username', 'displayName': 'Nick', 'index': 0, 'validators': [ { 'name': 'NonEmpty' }, { 'name': 'MaximumLength', 'params': { 'length': 10 } } ] }, { 'name': 'password', 'displayName': 'Password', 'index': 2, 'validators': [ { 'name': 'NonEmpty', } ] }, ] } }; }, methods: { onImmediateTap() { this.validationMode = DataFormValidationMode.Immediate; }, onOnLostFocusTap() { this.validationMode = DataFormValidationMode.OnLostFocus; }, onManualTap() { this.validationMode = DataFormValidationMode.Manual; }, onValidateTap() { this.$refs.dataform.validateAll() .then(result => { console.log(Validation result: ${result}); }); }, } };

there are some Code and Syntax Highlighting problems on this page
@cla-bot
Copy link

cla-bot bot commented May 11, 2020

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @kaanguru.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant