X Tutup
The Wayback Machine - https://web.archive.org/web/20201218072519/https://github.com/NativeScript/docs/pull/1886
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown problems with firefox #1886

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@kaanguru
Copy link

@kaanguru kaanguru commented May 11, 2020

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 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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.
X Tutup