## The InfoPath form deletes filled-in fields when they are reopened after delivery

I have an InfoPath form with a drop-down box for a category and multiple fields under the category box. When someone moves from one category to the next, I have set rules to clear all fields under the category and to refill them.

When the form is sent, all filled-in areas are displayed in the list. However, if the form is opened for viewing or editing, any fields that I set when changing the category to hide are displayed as blank without being changed anything from the original template.

Is there a rule I have to do to avoid this or what I miss?

## Development – Selecting a date in the 2nd date picker deletes the first date picker (UI Fabric React).

I am making an SPFx web part and I have 3 date pickers. See pictures below.

1. First, I'll start with 3 blank date pickers (oké they look good)

2. Then I pick a pickup date (no problems so far)

3. Then I choose a return date, but if you select a date, the collection date will be deleted (here begins the error),

4. The same applies to the selection of an event date. The return date will be deleted (the error happens again here),

This is my code:

``````import {DayOfWeek, DatePicker} from Office Ui-Fabric-React & # 39 ;;

Export Interface IMyComponentState {
pickUpDate?: Date;
returnDate?: Date;
eventDate ?: date;
}

Export class MyComponent extends React.Component<{}, IMyComponentState > {
public render (): React.ReactElement<{}> {
Return (

{this.setState ({pickUpDate}); }}
firstDayOfWeek = {DayOfWeek.Monday} />

{this.setState ({returnDate}); }}
firstDayOfWeek = {DayOfWeek.Monday} />

{this.setState ({eventDate}); }}
firstDayOfWeek = {DayOfWeek.Monday} />

);
}
}
``````

How could I fix the bug of my component? I debugged my code a lot, but did not find the problem.

These are my debug results after step 3:

As you can see, the states are still correct.

## mojave – Microsoft Remote Desktop 10 deletes the thumbnail cache

I use it almost daily and I'm sure there are ways to reduce disk usage. I've noticed that the thumbnail cache is never deleted. Is there a way to periodically remove the old thumbnails? I've just manually deleted over 12GB of old thumbnails before this app took up the most space.

## How do I keep a copy of a Google Doc, even after the owner deletes it?

I have noticed that the owner permanently deletes a document and is unavailable to users who share it. How can I make sure that I keep a copy of it, even if it has been deleted permanently and the latest changes have been made? Knowing that I owe both Google accounts, but one of them (the owner of one) is managed by my company.

## files – deletes the value default file_managed

When the page is loaded, the managed file is filled with a default value. It works by that time. If I delete the file loaded in the managed file, it will not be deleted in the folder where it is stored and in the managed_file table. This behavior is only achieved if you load the page when I submit the tasks. It appears that the default value is not linked to the managed file

## Pages iCloud deletes the graded numbering

I can not get graduated numbering in iCloud pages. Is there something I miss?

When the document of my pages was loaded into iCloud, it deleted the graded numbering

## iCloud – Deletes deleted files in the cloud

I keep dropping a folder in the Documents folder, and iCloud will download it again. How do I effectively delete a folder with Mojave from my Mac & iCloud?

I moved the folder to a first `.nosync` Folder to prevent iCloud from syncing and deleting all hidden iCloud files. The folder contains projects that are routinely checked in to git. So there's no reason for iCloud to deal with them – and iCloud does not seem to play well with git (and I do not want my iCloud space taken up). After I moved my git folder into the folder `.nosync` The iCloud directory immediately began downloading the files again.

I can delete the files, but once I have emptied the trash they will be downloaded again (sometimes it takes a few days).

It does not seem to matter how I delete it (`rm-rf`, Finder, raised text). They always seem to come back.

## Matrix – deletes zeros from a SparseArray

Why not? `SparseArray` Automatically remove zero entries? The code

``````a = SparseArray[{2->22,3->33,5->55,7->77,11->1111,13->1313},13];
b = SparseArray[{1->11,3->33,5->55,7->77,9->99,11->1111},13];
r = DeleteCases[a-b,0]
r // ArrayRules
``````

returns `{{1} -> - 11, {3} -> 0, {5} -> 0, {7} -> 0, {9} -> - 99, {11} -> 0, {2} -> 22, {13} -> 1313, {_} -> 0}` instead of `{{1} -> - 11, {9} -> - 99, {2} -> 22, {13} -> 1313, {_} -> 0}`,

Is there a nice way to remove null entries? For example, when turned on $$A ! In ! Mathbb {Z} ^ {m times n} _2$$ I make a Gaussian excretion, which I use `A = mod[A,2];`Suddenly, many entries are null and I do not want to waste memory for them.
Of course I could use `A = SparseArray[DeleteCases[ArrayRules[A], #[[2]]== 0 &]{m, n}]`but it seems awkward to use this often …

Even though I have a very long sparse series that is updated frequently and replenished somewhat (Gaussian elimination), it is better to use `SparseArray` With `+` or `Association` With `merge`?

## Postgresql: deletes all comments from the database

Erwin Brandstetter gave a very good answer to this question. Remove COMMENT ON from all objects in PostgreSQL on Stack Overflow.

It essentially consists of removing the comments directly from the system catalogs (disclaimer – the following code is copied directly from its response):

``````DELETE FROM pg_description WHERE description = & # 39; something special & # 39 ;;
``````

Or you can delete the comments based on other criteria that you select.

## Network – Router client table deletes my hostname after some time

My router recognizes my host name when I restart the device or the router. It appears in the list of router clients. The router uses DHCP.

After some time, the host name of my device disappears from the router table and becomes an "unknown device" with a MAC address.

I also have a Grandstream VoIP adapter on my home network. The host name is displayed on the router and is never "unknown device".

Question 1: How can I prevent the router from deleting the host name of my device?

Question 2 How does the Grandstream Voip adapter achieve this?
Thanks to everyone who can help me solve this puzzle.