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

No value for option() for empty property #415

Closed
4 of 8 tasks
Smitty010 opened this issue Sep 16, 2024 · 3 comments
Closed
4 of 8 tasks

No value for option() for empty property #415

Smitty010 opened this issue Sep 16, 2024 · 3 comments
Labels
bug Undesired behavior caused by this plugin can't reproduce

Comments

@Smitty010
Copy link

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persist with all other plugins and themes disabled

Plugin Version

0.8.7

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

SYSTEM INFO:
	Obsidian version: v1.7.1
	Installer version: v1.6.5
	Operating system: Windows 11 Pro 10.0.22631
	Login status: logged in
	Language: en
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Base theme: light
	Community theme: Primary v2.8.0
	Snippets enabled: 16
	Restricted mode: off
	Plugins installed: 105
	Plugins enabled: 65
		1: Tasks v7.10.0
		2: Templater v2.7.1
		3: Calendar v1.5.10
		4: Kanban v2.0.51
		5: Excalidraw v2.5.0
		6: Outliner v4.8.1
		7: Natural Language Dates v0.6.2
		8: QuickAdd v1.11.1
		9: Periodic Notes v0.0.17
		10: Homepage v4.0.4
		11: Minimal Theme Settings v8.1.1
		12: Note Refactor v1.8.2
		13: Recent Files v1.5.0
		14: Spaced Repetition v1.12.6
		15: Style Settings v1.0.9
		16: Workspaces Plus v0.3.3
		17: Tag Wrangler v0.6.1
		18: Hotkeys++ v0.2.7
		19: Fullscreen mode plugin v0.1.2
		20: Projects v1.17.4
		21: Plugin Update Tracker v1.5.2
		22: Open vault in VSCode v1.2.3
		23: Grandfather v1.0.1
		24: No dupe leaves v0.0.12
		25: Callout Manager v1.1.0
		26: Quiet Outline v0.3.36
		27: Linter v1.26.0
		28: MySnippets v1.2.3
		29: Auto Link Title v1.5.4
		30: Status Bar Pomodoro Timer v0.1.14
		31: Advanced URI v1.44.1
		32: Update time on edit v2.4.0
		33: Metadata Menu v0.8.7
		34: Scroll to Top v2.1.4
		35: Supercharged Links v0.12.1
		36: Dataview v0.5.67
		37: Sort Frontmatter v1.0.24
		38: Charts v3.9.0
		39: Quick Switcher++ v4.5.0
		40: Editing Toolbar v2.4.16
		41: Settings Search v1.3.10
		42: Gemini Assistant v1.0.4
		43: Beautitab v1.6.1
		44: Omnisearch v1.24.1
		45: Meta Bind v1.1.3
		46: Text Extractor v0.5.2
		47: Advanced Canvas v3.1.0
		48: Canvas minimap v1.0.15
		49: File Cooker v1.9.0
		50: Commander v0.5.1
		51: Sortable v0.3.1
		52: Banners v1.3.3
		53: Copy as source v1.0.2
		54: Advanced Tables v0.22.0
		55: Footnote Shortcut v0.1.3
		56: Text Generator v0.7.37
		57: Admonition v10.3.2
		58: Highlightr v1.2.2
		59: Modal forms v1.51.0
		60: CardBoard v0.7.9
		61: File Explorer Note Count v1.2.2
		62: CSS Inlay Colors v1.1.0
		63: Block Link Plus v1.0.4
		64: Text Format v3.1.0
		65: Lazy Plugin Loader v1.0.18

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the Issue

I have the following query:

Priority:  `INPUT[inlineSelect(option(null,normal ), option(🔼), option(⏫), option(🔽), option(⏬)):priority]`

The first opion is supposed to be for a missing field or a field that has no value. I've tried "null", "undefined", "''" and non of those work. It seems like "null" should work.

Steps to Reproduce

  1. Create a field with an empty value
  2. Write an input similar to the one above
  3. The field is currently empty

Expected Behavior

I expect the initial state of the dropdown to show "normal"

@Smitty010 Smitty010 added the bug Undesired behavior caused by this plugin label Sep 16, 2024
@mProjectsCode
Copy link
Owner

What do you mean by "not work"? Could you be a bit more specific?

null works as intended
imageimage

@Smitty010
Copy link
Author

When the drop down list appears and it is closed (showing the current value of the field), I expect it to show "normal". It is blank

It looks like
image

If i click on normal, then it puts the priority to "empty" which is what I would expect. It then seems to work. I think it is when it does the initial display that there is a problem.

It looks like this all of the ime:
image

It should look like that when it first comes up.

My apologies for not being more clear

@mProjectsCode
Copy link
Owner

I can't reproduce this. Maybe it got fixed somehow.

@mProjectsCode mProjectsCode closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin can't reproduce
Projects
None yet
Development

No branches or pull requests

2 participants