Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vue3: Nativescript elements need explicit boolean value #1110

Open
@LauriMauranen

Description

@LauriMauranen
<Page actionBarHidden="true" >

works but

<Page actionBarHidden >

gives error:

 System.err: An uncaught Exception occurred on "main" thread.  System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function  System.err: Error: Invalid boolean:  System.err: File: (file: app/webpack:/valpa-mobiili-paivitys/webpack/bootstrap:27:0)  System.err:  System.err: StackTrace:  System.err: booleanConverter(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@nativescript/core/ui/core/view-base/index.js:1118:0)  System.err: at Property.set(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@nativescript/core/ui/core/properties/index.js:144:0)  System.err: at assignProp(file: app/webpack:/valpa-mobiili-paivitys/node_modules/set-value/index.js:125:0)  System.err: at setValue(file: app/webpack:/valpa-mobiili-paivitys/node_modules/set-value/index.js:144:0)  System.err: at setAttribute(file: app/webpack:/valpa-mobiili-paivitys/node_modules/nativescript-vue/dist/dom/index.js:121:16)  System.err: at patchAttr(file: app/webpack:/valpa-mobiili-paivitys/node_modules/nativescript-vue/dist/renderer/modules/attrs.js:28:0)  System.err: at patchProp(file: app/webpack:/valpa-mobiili-paivitys/node_modules/nativescript-vue/dist/renderer/patchProp.js:43:25)  System.err: at mountElement(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4893:0)  System.err: at processElement(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4840:0)  System.err: at patch(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4706:0)  System.err: at mountChildren(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4952:0)  System.err: at mountElement(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4875:0)  System.err: at processElement(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4840:0)  System.err: at patch(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4706:0)  System.err: at componentUpdateFn(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5337:0)  System.err: at run(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/reactivity/dist/reactivity.cjs.js:241:0)  System.err: at setupRenderEffect(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5465:0)  System.err: at mountComponent(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5239:0)  System.err: at processComponent(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5191:0)  System.err: at patch(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4718:0)  System.err: at render(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6002:0)  System.err: at mount(file: app/webpack:/valpa-mobiili-paivitys/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3982:0)  System.err: at app.mount(file: app/webpack:/valpa-mobiili-paivitys/node_modules/nativescript-vue/dist/index.js:50:0)  System.err: at app.start(file: app/webpack:/valpa-mobiili-paivitys/node_modules/nativescript-vue/dist/index.js:53:0)  System.err: at ./app/main.js(file: app/webpack:/valpa-mobiili-paivitys/app/main.js:116:0)  System.err: at __webpack_require__(file: app/webpack:/valpa-mobiili-paivitys/webpack/bootstrap:24:0)  System.err: at __webpack_exec__(file:///data/data/fi.valpa.parkkipate/files/app/bundle.js:27555:39)  System.err: at (file:///data/data/fi.valpa.parkkipate/files/app/bundle.js:27556:299)  System.err: at __webpack_require__.X(file: app/webpack:/valpa-mobiili-paivitys/webpack/runtime/startup entrypoint:6:0)  System.err: at (file:///data/data/fi.valpa.parkkipate/files/app/bundle.js:27556:47)  System.err: at (file:///data/data/fi.valpa.parkkipate/files/app/bundle.js:27561:3)  System.err: at require(:1:266)

It would be nice to not to have to write="true" everywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp